home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 16 / IOPROG_16.ISO / soft / macaxsdk / macsdk.hqx / ActiveX DR3 SDK / ActiveX SDK / Container Common / htparse.h < prev    next >
MacBinary  |  1997-04-30  |  3.8 KB  |  [TEXT/CWIE]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Apr 30 14:38:24 1997, modified Wed Apr 30 14:38:24 1997, creator 'CWIE', type ASCII, 3093 bytes "htparse.h" , at 0xc95 428 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 68 74 70 61 72 73 | 65 2e 68 00 00 00 00 00 |..htpars|e.h.....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 0c 15 00 | 00 01 ac af 8d 42 20 af |........|.....B .|
|00000060| 8d 42 20 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.B .....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 af aa 00 00 |........|........|
|00000080| 2f 2f 20 3e 3e 3e 20 a9 | 20 31 39 39 36 2d 31 39 |// >>> .| 1996-19|
|00000090| 39 37 20 4d 69 63 72 6f | 73 6f 66 74 20 43 6f 72 |97 Micro|soft Cor|
|000000a0| 70 6f 72 61 74 69 6f 6e | 2e 20 20 41 6c 6c 20 72 |poration|. All r|
|000000b0| 69 67 68 74 73 20 72 65 | 73 65 72 76 65 64 2e 20 |ights re|served. |
|000000c0| 3c 3c 3c 0d 2f 2a 0d 20 | 20 20 54 68 69 73 20 66 |<<<./*. | This f|
|000000d0| 69 6c 65 20 77 61 73 20 | 64 65 72 69 76 65 64 20 |ile was |derived |
|000000e0| 66 72 6f 6d 20 74 68 65 | 20 6c 69 62 77 77 77 20 |from the| libwww |
|000000f0| 63 6f 64 65 2c 20 76 65 | 72 73 69 6f 6e 20 32 2e |code, ve|rsion 2.|
|00000100| 31 35 2c 20 66 72 6f 6d | 20 43 45 52 4e 2e 0d 20 |15, from| CERN.. |
|00000110| 20 20 41 20 6e 75 6d 62 | 65 72 20 6f 66 20 6d 6f | A numb|er of mo|
|00000120| 64 69 66 69 63 61 74 69 | 6f 6e 73 20 68 61 76 65 |dificati|ons have|
|00000130| 20 62 65 65 6e 20 6d 61 | 64 65 20 62 79 20 53 70 | been ma|de by Sp|
|00000140| 79 67 6c 61 73 73 2e 0d | 0d 20 20 20 65 72 69 63 |yglass..|. eric|
|00000150| 40 73 70 79 67 6c 61 73 | 73 2e 63 6f 6d 0d 20 2a |@spyglas|s.com. *|
|00000160| 2f 0d 0d 2f 2a 20 20 20 | 20 20 20 20 20 20 20 20 |/../* | |
|00000170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000190| 20 20 20 20 20 20 20 20 | 48 54 50 61 72 73 65 3a | |HTParse:|
|000001a0| 20 20 55 52 4c 20 70 61 | 72 73 69 6e 67 20 69 6e | URL pa|rsing in|
|000001b0| 20 74 68 65 20 57 57 57 | 20 4c 69 62 72 61 72 79 | the WWW| Library|
|000001c0| 0d 20 20 20 48 54 50 41 | 52 53 45 0d 0d 20 20 20 |. HTPA|RSE.. |
|000001d0| 54 68 69 73 20 6d 6f 64 | 75 6c 65 20 6f 66 20 74 |This mod|ule of t|
|000001e0| 68 65 20 57 57 57 20 6c | 69 62 72 61 72 79 20 63 |he WWW l|ibrary c|
|000001f0| 6f 6e 74 61 69 6e 73 20 | 63 6f 64 65 20 74 6f 20 |ontains |code to |
|00000200| 70 61 72 73 65 20 55 52 | 4c 73 20 61 6e 64 20 76 |parse UR|Ls and v|
|00000210| 61 72 69 6f 75 73 20 72 | 65 6c 61 74 65 64 20 74 |arious r|elated t|
|00000220| 68 69 6e 67 73 2e 0d 20 | 20 20 49 6d 70 6c 65 6d |hings.. | Implem|
|00000230| 65 6e 74 65 64 20 62 79 | 20 48 54 50 61 72 73 65 |ented by| HTParse|
|00000240| 2e 63 20 2e 0d 0d 20 2a | 2f 0d 23 69 66 6e 64 65 |.c ... *|/.#ifnde|
|00000250| 66 20 48 54 50 41 52 53 | 45 5f 48 0d 23 64 65 66 |f HTPARS|E_H.#def|
|00000260| 69 6e 65 20 48 54 50 41 | 52 53 45 5f 48 0d 0d 2f |ine HTPA|RSE_H../|
|00000270| 2a 0d 0d 20 20 20 54 68 | 65 20 66 6f 6c 6c 6f 77 |*.. Th|e follow|
|00000280| 69 6e 67 20 61 72 65 20 | 66 6c 61 67 20 62 69 74 |ing are |flag bit|
|00000290| 73 20 77 68 69 63 68 20 | 6d 61 79 20 62 65 20 4f |s which |may be O|
|000002a0| 52 65 64 20 74 6f 67 65 | 74 68 65 72 20 74 6f 20 |Red toge|ther to |
|000002b0| 66 6f 72 6d 20 61 20 6e | 75 6d 62 65 72 20 74 6f |form a n|umber to|
|000002c0| 20 67 69 76 65 20 74 68 | 65 0d 20 20 20 27 77 61 | give th|e. 'wa|
|000002d0| 6e 74 65 64 27 20 61 72 | 67 75 6d 65 6e 74 20 74 |nted' ar|gument t|
|000002e0| 6f 20 48 54 50 61 72 73 | 65 2e 0d 0d 20 2a 2f 0d |o HTPars|e... */.|
|000002f0| 23 64 65 66 69 6e 65 20 | 50 41 52 53 45 5f 41 43 |#define |PARSE_AC|
|00000300| 43 45 53 53 20 20 20 20 | 20 20 20 20 20 20 20 20 |CESS | |
|00000310| 31 36 0d 23 64 65 66 69 | 6e 65 20 50 41 52 53 45 |16.#defi|ne PARSE|
|00000320| 5f 48 4f 53 54 20 20 20 | 20 20 20 20 20 20 20 20 |_HOST | |
|00000330| 20 20 20 20 38 0d 23 64 | 65 66 69 6e 65 20 50 41 | 8.#d|efine PA|
|00000340| 52 53 45 5f 50 41 54 48 | 20 20 20 20 20 20 20 20 |RSE_PATH| |
|00000350| 20 20 20 20 20 20 20 34 | 0d 23 64 65 66 69 6e 65 | 4|.#define|
|00000360| 20 50 41 52 53 45 5f 41 | 4e 43 48 4f 52 20 20 20 | PARSE_A|NCHOR |
|00000370| 20 20 20 20 20 20 20 20 | 20 20 32 0d 23 64 65 66 | | 2.#def|
|00000380| 69 6e 65 20 50 41 52 53 | 45 5f 50 55 4e 43 54 55 |ine PARS|E_PUNCTU|
|00000390| 41 54 49 4f 4e 20 20 20 | 20 20 20 20 20 31 0d 23 |ATION | 1.#|
|000003a0| 64 65 66 69 6e 65 20 50 | 41 52 53 45 5f 41 4c 4c |define P|ARSE_ALL|
|000003b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 33 | | 3|
|000003c0| 31 0d 0d 0d 2f 2a 0d 0d | 20 20 20 48 54 50 61 72 |1.../*..| HTPar|
|000003d0| 73 65 3a 20 20 50 61 72 | 73 65 20 61 20 55 52 4c |se: Par|se a URL|
|000003e0| 20 72 65 6c 61 74 69 76 | 65 20 74 6f 20 61 6e 6f | relativ|e to ano|
|000003f0| 74 68 65 72 20 55 52 4c | 0d 0d 20 20 20 54 68 69 |ther URL|.. Thi|
|00000400| 73 20 72 65 74 75 72 6e | 73 20 74 68 6f 73 65 20 |s return|s those |
|00000410| 70 61 72 74 73 20 6f 66 | 20 61 20 6e 61 6d 65 20 |parts of| a name |
|00000420| 77 68 69 63 68 20 61 72 | 65 20 67 69 76 65 6e 20 |which ar|e given |
|00000430| 28 61 6e 64 20 72 65 71 | 75 65 73 74 65 64 29 20 |(and req|uested) |
|00000440| 73 75 62 73 74 69 74 75 | 74 69 6e 67 20 62 69 74 |substitu|ting bit|
|00000450| 73 0d 20 20 20 66 72 6f | 6d 20 74 68 65 20 72 65 |s. fro|m the re|
|00000460| 6c 61 74 65 64 20 6e 61 | 6d 65 20 77 68 65 72 65 |lated na|me where|
|00000470| 20 6e 65 63 65 73 73 61 | 72 79 2e 0d 0d 20 20 20 | necessa|ry... |
|00000480| 4f 4e 20 45 4e 54 52 59 | 0d 0d 20 20 20 61 4e 61 |ON ENTRY|.. aNa|
|00000490| 6d 65 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |me | |
|000004a0| 20 20 20 20 20 41 20 66 | 69 6c 65 6e 61 6d 65 20 | A f|ilename |
|000004b0| 67 69 76 65 6e 0d 0d 20 | 20 20 72 65 6c 61 74 65 |given.. | relate|
|000004c0| 64 4e 61 6d 65 20 20 20 | 20 20 20 20 20 20 20 20 |dName | |
|000004d0| 20 20 41 20 6e 61 6d 65 | 20 72 65 6c 61 74 69 76 | A name| relativ|
|000004e0| 65 20 74 6f 20 77 68 69 | 63 68 20 61 4e 61 6d 65 |e to whi|ch aName|
|000004f0| 20 69 73 20 74 6f 20 62 | 65 20 70 61 72 73 65 64 | is to b|e parsed|
|00000500| 0d 0d 20 20 20 77 61 6e | 74 65 64 20 20 20 20 20 |.. wan|ted |
|00000510| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 41 20 6d | | A m|
|00000520| 61 73 6b 20 66 6f 72 20 | 74 68 65 20 62 69 74 73 |ask for |the bits|
|00000530| 20 77 68 69 63 68 20 61 | 72 65 20 77 61 6e 74 65 | which a|re wante|
|00000540| 64 2e 0d 0d 20 20 20 4f | 4e 20 45 58 49 54 2c 0d |d... O|N EXIT,.|
|00000550| 0d 20 20 20 72 65 74 75 | 72 6e 73 20 20 20 20 20 |. retu|rns |
|00000560| 20 20 20 20 20 20 20 20 | 20 20 20 20 41 20 70 6f | | A po|
|00000570| 69 6e 74 65 72 20 74 6f | 20 61 20 6d 61 6c 6c 6f |inter to| a mallo|
|00000580| 63 27 64 20 73 74 72 69 | 6e 67 20 77 68 69 63 68 |c'd stri|ng which|
|00000590| 20 4d 55 53 54 20 42 45 | 20 46 52 45 45 44 0d 0d | MUST BE| FREED..|
|000005a0| 20 2a 2f 0d 0d 65 78 74 | 65 72 6e 20 63 68 61 72 | */..ext|ern char|
|000005b0| 20 2a 48 54 50 61 72 73 | 65 28 63 6f 6e 73 74 20 | *HTPars|e(const |
|000005c0| 63 68 61 72 20 2a 61 4e | 61 6d 65 2c 20 63 6f 6e |char *aN|ame, con|
|000005d0| 73 74 20 63 68 61 72 20 | 2a 72 65 6c 61 74 65 64 |st char |*related|
|000005e0| 4e 61 6d 65 2c 20 69 6e | 74 20 77 61 6e 74 65 64 |Name, in|t wanted|
|000005f0| 29 3b 0d 0d 0d 2f 2a 0d | 0d 20 20 20 48 54 53 74 |);.../*.|. HTSt|
|00000600| 72 69 70 3a 20 53 74 72 | 69 70 20 77 68 69 74 65 |rip: Str|ip white|
|00000610| 20 73 70 61 63 65 20 6f | 66 66 20 61 20 73 74 72 | space o|ff a str|
|00000620| 69 6e 67 0d 0d 20 20 20 | 4f 4e 20 45 58 49 54 0d |ing.. |ON EXIT.|
|00000630| 0d 20 20 20 52 65 74 75 | 72 6e 20 76 61 6c 75 65 |. Retu|rn value|
|00000640| 20 70 6f 69 6e 74 73 20 | 74 6f 20 66 69 72 73 74 | points |to first|
|00000650| 20 6e 6f 6e 2d 77 68 69 | 74 65 20 63 68 61 72 61 | non-whi|te chara|
|00000660| 63 74 65 72 2c 20 6f 72 | 20 74 6f 20 30 20 69 66 |cter, or| to 0 if|
|00000670| 20 6e 6f 6e 65 2e 0d 0d | 20 20 20 41 6c 6c 20 74 | none...| All t|
|00000680| 72 61 69 6c 69 6e 67 20 | 77 68 69 74 65 20 73 70 |railing |white sp|
|00000690| 61 63 65 20 69 73 20 4f | 56 45 52 57 52 49 54 54 |ace is O|VERWRITT|
|000006a0| 45 4e 20 77 69 74 68 20 | 7a 65 72 6f 2e 0d 0d 20 |EN with |zero... |
|000006b0| 2a 2f 0d 65 78 74 65 72 | 6e 20 63 68 61 72 20 2a |*/.exter|n char *|
|000006c0| 48 54 53 74 72 69 70 28 | 63 68 61 72 20 2a 73 29 |HTStrip(|char *s)|
|000006d0| 3b 0d 0d 2f 2a 0d 0d 20 | 20 20 48 54 53 69 6d 70 |;../*.. | HTSimp|
|000006e0| 6c 69 66 79 3a 20 53 69 | 6d 70 6c 69 66 79 20 61 |lify: Si|mplify a|
|000006f0| 20 55 54 4c 0d 0d 20 20 | 20 41 20 55 52 4c 20 69 | UTL.. | A URL i|
|00000700| 73 20 61 6c 6c 6f 77 65 | 64 20 74 6f 20 63 6f 6e |s allowe|d to con|
|00000710| 74 61 69 6e 20 74 68 65 | 20 73 65 71 65 75 6e 63 |tain the| seqeunc|
|00000720| 65 20 78 78 78 2f 2e 2e | 2f 20 77 68 69 63 68 20 |e xxx/..|/ which |
|00000730| 6d 61 79 20 62 65 20 72 | 65 70 6c 61 63 65 64 20 |may be r|eplaced |
|00000740| 62 79 20 22 22 20 2c 20 | 61 6e 64 20 74 68 65 0d |by "" , |and the.|
|00000750| 20 20 20 73 65 71 65 75 | 6e 63 65 20 22 2f 2e 2f | seqeu|nce "/./|
|00000760| 22 20 77 68 69 63 68 20 | 6d 61 79 20 62 65 20 72 |" which |may be r|
|00000770| 65 70 6c 61 63 65 64 20 | 62 79 20 22 2f 22 2e 20 |eplaced |by "/". |
|00000780| 53 69 6d 70 6c 69 66 69 | 63 61 74 69 6f 6e 20 68 |Simplifi|cation h|
|00000790| 65 6c 70 73 20 75 73 20 | 72 65 63 6f 67 6e 69 7a |elps us |recogniz|
|000007a0| 65 0d 20 20 20 64 75 70 | 6c 69 63 61 74 65 20 66 |e. dup|licate f|
|000007b0| 69 6c 65 6e 61 6d 65 73 | 2e 20 49 74 20 64 6f 65 |ilenames|. It doe|
|000007c0| 73 6e 27 74 20 64 65 61 | 6c 20 77 69 74 68 20 73 |sn't dea|l with s|
|000007d0| 6f 66 74 20 6c 69 6e 6b | 73 2c 20 74 68 6f 75 67 |oft link|s, thoug|
|000007e0| 68 2e 20 54 68 65 20 6e | 65 77 20 28 73 68 6f 72 |h. The n|ew (shor|
|000007f0| 74 65 72 29 0d 20 20 20 | 66 69 6c 65 6e 61 6d 65 |ter). |filename|
|00000800| 20 6f 76 65 72 77 72 69 | 74 65 73 20 74 68 65 20 | overwri|tes the |
|00000810| 6f 6c 64 2e 0d 0d 20 2a | 2f 0d 2f 2a 0d 20 20 20 |old... *|/./*. |
|00000820| 2a 2a 20 20 20 20 20 20 | 54 68 75 73 2c 20 20 20 |** |Thus, |
|00000830| 2f 65 74 63 2f 6a 75 6e | 6b 2f 2e 2e 2f 66 72 65 |/etc/jun|k/../fre|
|00000840| 64 20 20 20 20 20 20 20 | 62 65 63 6f 6d 65 73 20 |d |becomes |
|00000850| 2f 65 74 63 2f 66 72 65 | 64 0d 20 20 20 2a 2a 20 |/etc/fre|d. ** |
|00000860| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 65 74 | | /et|
|00000870| 63 2f 6a 75 6e 6b 2f 2e | 2f 66 72 65 64 20 20 20 |c/junk/.|/fred |
|00000880| 20 20 20 20 20 62 65 63 | 6f 6d 65 73 20 2f 65 74 | bec|omes /et|
|00000890| 63 2f 6a 75 6e 6b 2f 66 | 72 65 64 0d 20 2a 2f 0d |c/junk/f|red. */.|
|000008a0| 65 78 74 65 72 6e 20 76 | 6f 69 64 20 48 54 53 69 |extern v|oid HTSi|
|000008b0| 6d 70 6c 69 66 79 28 63 | 68 61 72 20 2a 66 69 6c |mplify(c|har *fil|
|000008c0| 65 6e 61 6d 65 29 3b 0d | 0d 0d 2f 2a 0d 0d 20 20 |ename);.|../*.. |
|000008d0| 20 48 54 45 73 63 61 70 | 65 3a 20 20 45 6e 63 6f | HTEscap|e: Enco|
|000008e0| 64 65 20 75 6e 61 63 63 | 65 70 74 61 62 6c 65 20 |de unacc|eptable |
|000008f0| 63 68 61 72 61 63 74 65 | 72 73 20 69 6e 20 73 74 |characte|rs in st|
|00000900| 72 69 6e 67 0d 0d 20 20 | 20 54 68 69 73 20 66 75 |ring.. | This fu|
|00000910| 6e 74 69 6f 6e 20 74 61 | 6b 65 73 20 61 20 73 74 |ntion ta|kes a st|
|00000920| 72 69 6e 67 20 63 6f 6e | 74 61 69 6e 69 6e 67 20 |ring con|taining |
|00000930| 61 6e 79 20 73 65 71 75 | 65 6e 63 65 20 6f 66 20 |any sequ|ence of |
|00000940| 41 53 43 49 49 20 63 68 | 61 72 61 63 74 65 72 73 |ASCII ch|aracters|
|00000950| 2c 20 61 6e 64 20 72 65 | 74 75 72 6e 73 20 61 0d |, and re|turns a.|
|00000960| 20 20 20 6d 61 6c 6c 6f | 63 65 64 20 73 74 72 69 | mallo|ced stri|
|00000970| 6e 67 20 63 6f 6e 74 61 | 69 6e 69 6e 67 20 74 68 |ng conta|ining th|
|00000980| 65 20 73 61 6d 65 20 69 | 6e 66 72 6f 6d 61 74 69 |e same i|nfromati|
|00000990| 6f 6e 20 62 75 74 20 77 | 69 74 68 20 61 6c 6c 20 |on but w|ith all |
|000009a0| 22 75 6e 61 63 63 65 70 | 74 61 62 6c 65 22 20 63 |"unaccep|table" c|
|000009b0| 68 61 72 61 63 74 65 72 | 73 0d 20 20 20 72 65 70 |haracter|s. rep|
|000009c0| 72 65 73 65 6e 74 65 64 | 20 69 6e 20 74 68 65 20 |resented| in the |
|000009d0| 66 6f 72 6d 20 25 78 79 | 20 77 68 65 72 65 20 58 |form %xy| where X|
|000009e0| 20 61 6e 64 20 59 20 61 | 72 65 20 74 77 6f 20 68 | and Y a|re two h|
|000009f0| 65 78 20 64 69 67 69 74 | 73 2e 0d 0d 20 2a 2f 0d |ex digit|s... */.|
|00000a00| 65 78 74 65 72 6e 20 63 | 68 61 72 20 2a 48 54 45 |extern c|har *HTE|
|00000a10| 73 63 61 70 65 28 43 4f | 4e 53 54 20 63 68 61 72 |scape(CO|NST char|
|00000a20| 20 2a 73 74 72 2c 20 75 | 6e 73 69 67 6e 65 64 20 | *str, u|nsigned |
|00000a30| 63 68 61 72 20 6d 61 73 | 6b 2c 20 63 68 61 72 20 |char mas|k, char |
|00000a40| 70 72 6f 74 65 63 74 29 | 3b 0d 0d 2f 2a 0d 0d 20 |protect)|;../*.. |
|00000a50| 20 20 54 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 | The fo|llowing |
|00000a60| 61 72 65 20 76 61 6c 69 | 64 20 6d 61 73 6b 20 76 |are vali|d mask v|
|00000a70| 61 6c 75 65 73 2e 20 54 | 68 65 20 74 65 72 6d 73 |alues. T|he terms|
|00000a80| 20 61 72 65 20 74 68 65 | 20 42 4e 46 20 6e 61 6d | are the| BNF nam|
|00000a90| 65 73 20 69 6e 20 74 68 | 65 20 55 52 4c 20 64 6f |es in th|e URL do|
|00000aa0| 63 75 6d 65 6e 74 2e 0d | 0d 20 2a 2f 0d 23 64 65 |cument..|. */.#de|
|00000ab0| 66 69 6e 65 20 55 52 4c | 5f 58 41 4c 50 48 41 53 |fine URL|_XALPHAS|
|00000ac0| 20 20 20 20 20 28 75 6e | 73 69 67 6e 65 64 20 63 | (un|signed c|
|00000ad0| 68 61 72 29 20 31 0d 23 | 64 65 66 69 6e 65 20 55 |har) 1.#|define U|
|00000ae0| 52 4c 5f 58 50 41 4c 50 | 48 41 53 20 20 20 20 28 |RL_XPALP|HAS (|
|00000af0| 75 6e 73 69 67 6e 65 64 | 20 63 68 61 72 29 20 32 |unsigned| char) 2|
|00000b00| 0d 23 64 65 66 69 6e 65 | 20 55 52 4c 5f 50 41 54 |.#define| URL_PAT|
|00000b10| 48 20 20 20 20 20 20 20 | 20 28 75 6e 73 69 67 6e |H | (unsign|
|00000b20| 65 64 20 63 68 61 72 29 | 20 34 0d 0d 0d 2f 2a 0d |ed char)| 4.../*.|
|00000b30| 0d 20 20 20 48 54 55 6e | 45 73 63 61 70 65 3a 20 |. HTUn|Escape: |
|00000b40| 44 65 63 6f 64 65 20 25 | 78 78 20 65 73 63 61 70 |Decode %|xx escap|
|00000b50| 65 64 20 63 68 61 72 61 | 63 74 65 72 73 0d 0d 20 |ed chara|cters.. |
|00000b60| 20 20 54 68 69 73 20 66 | 75 6e 63 74 69 6f 6e 20 | This f|unction |
|00000b70| 74 61 6b 65 73 20 61 20 | 70 6f 69 6e 74 65 72 20 |takes a |pointer |
|00000b80| 74 6f 20 61 20 73 74 72 | 69 6e 67 20 69 6e 20 77 |to a str|ing in w|
|00000b90| 68 69 63 68 20 63 68 61 | 72 61 63 74 65 72 20 73 |hich cha|racter s|
|00000ba0| 6d 61 79 20 68 61 76 65 | 20 62 65 65 6e 20 65 6e |may have| been en|
|00000bb0| 63 6f 64 65 64 20 69 6e | 0d 20 20 20 25 78 79 20 |coded in|. %xy |
|00000bc0| 66 6f 72 6d 2c 20 77 68 | 65 72 65 20 78 79 20 69 |form, wh|ere xy i|
|00000bd0| 73 20 74 68 65 20 61 63 | 73 69 69 20 68 65 78 20 |s the ac|sii hex |
|00000be0| 63 6f 64 65 20 66 6f 72 | 20 63 68 61 72 61 63 74 |code for| charact|
|00000bf0| 65 72 20 31 36 78 2b 79 | 2e 20 54 68 65 20 73 74 |er 16x+y|. The st|
|00000c00| 72 69 6e 67 20 69 73 20 | 63 6f 6e 76 65 72 74 65 |ring is |converte|
|00000c10| 64 0d 20 20 20 69 6e 20 | 70 6c 61 63 65 2c 20 61 |d. in |place, a|
|00000c20| 73 20 69 74 20 77 69 6c | 6c 20 6e 65 76 65 72 20 |s it wil|l never |
|00000c30| 67 72 6f 77 2e 0d 0d 20 | 2a 2f 0d 65 78 74 65 72 |grow... |*/.exter|
|00000c40| 6e 20 63 68 61 72 20 2a | 48 54 55 6e 45 73 63 61 |n char *|HTUnEsca|
|00000c50| 70 65 28 63 68 61 72 20 | 2a 73 74 72 29 3b 0d 0d |pe(char |*str);..|
|00000c60| 0d 23 65 6e 64 69 66 20 | 2f 2a 20 48 54 50 41 52 |.#endif |/* HTPAR|
|00000c70| 53 45 5f 48 20 2a 2f 0d | 0d 0d 2f 2a 0d 0d 20 20 |SE_H */.|../*.. |
|00000c80| 20 65 6e 64 20 6f 66 20 | 48 54 50 61 72 73 65 0d | end of |HTParse.|
|00000c90| 0d 20 2a 2f 0d 00 00 00 | 00 00 00 00 00 00 00 00 |. */....|........|
|00000ca0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ce0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000cf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d00| 00 00 01 00 00 00 01 6e | 00 00 00 6e 00 00 00 3e |.......n|...n...>|
|00000d10| 70 6c 75 67 69 6e 3a 68 | 74 70 61 72 73 65 2e 63 |plugin:h|tparse.c|
|00000d20| 0d 30 30 2f 31 35 30 00 | 00 00 00 00 00 00 00 00 |.00/150.|........|
|00000d30| 09 68 74 70 61 72 73 65 | 2e 68 02 00 00 00 50 61 |.htparse|.h....Pa|
|00000d40| 72 74 53 49 54 21 00 00 | 00 00 00 00 00 00 00 00 |rtSIT!..|........|
|00000d50| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000d60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000d70| 00 00 b0 56 8e 16 00 00 | 00 00 00 00 01 ac 00 00 |...V....|........|
|00000d80| 00 00 00 00 00 00 00 07 | 00 2e 05 42 65 61 6e 73 |........|...Beans|
|00000d90| 04 8b 36 e0 00 00 33 48 | 04 1a 22 12 00 00 33 04 |..6...3H|.."...3.|
|00000da0| 04 8b 36 e0 00 00 ad f9 | b0 55 00 00 5f 8f 00 00 |..6.....|.U.._...|
|00000db0| 5f a5 ff ff ff ff 00 01 | ff ff 00 00 00 00 01 00 |_.......|........|
|00000dc0| 00 00 02 bc 00 00 01 bc | 00 00 00 32 04 0b 96 c8 |........|...2....|
|00000dd0| 24 ba 00 00 00 1c 00 32 | 00 00 61 6c 69 73 00 00 |$......2|..alis..|
|00000de0| 00 0a 00 00 ff ff 00 00 | 00 00 04 0d f2 28 04 05 |........|.....(..|
|00000df0| 12 06 0f 05 0d 04 05 0d | 04 05 12 18 0f 04 05 14 |........|........|
|00000e00| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 05 42 |...H..Mo|naco...B|
|00000e10| 03 d0 3f 70 00 00 00 00 | 00 00 00 00 00 00 00 00 |..?p....|........|
|00000e20| 00 00 00 00 00 00 00 06 | 00 04 00 50 00 20 03 63 |........|...P. .c|
|00000e30| 04 2d 00 50 00 20 03 63 | 04 2d af 8d 09 e1 00 00 |.-.P. .c|.-......|
|00000e40| 00 44 00 00 00 44 00 00 | 00 00 01 00 00 00 00 1e |.D...D..|........|
|00000e50| 00 50 00 20 03 63 04 2d | 00 50 00 20 03 63 04 2d |.P. .c.-|.P. .c.-|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 01 00 00 00 01 6e 00 00 | 00 6e 00 00 00 3e 03 a7 |.....n..|.n...>..|
|00000e80| 6d 98 25 18 00 00 00 1c | 00 3e 00 00 4d 50 53 52 |m.%.....|.>..MPSR|
|00000e90| 00 01 00 0a 03 ed ff ff | 00 00 00 00 00 00 00 00 |........|........|
|00000ea0| 03 f0 ff ff 00 00 00 4c | 03 b3 ff 04 00 00 00 00 |.......L|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+